Change in openvpn[master]: Fix wrong doxygen comments
A message that is not in the archive (sent off-list or not yet received): gerrit.1732583163000.Ib88ce925b20c5912de489ef1b62615c4b87d365c@...2715...
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/820?usp=email
to review the following change.
Change subject: Fix wrong doxygen comments
......................................................................
Fix wrong doxygen comments
Add some missing "<" to trailing comments
to make sure they apply to the correct line.
---
M src/openvpn/options.c
M src/openvpnmsica/msica_arg.h
M src/openvpnmsica/openvpnmsica.c
M src/openvpnmsica/openvpnmsica.h
M src/tapctl/tap.h
5 files changed, 26 insertions(+), 23 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/20/820/1
src/openvpn/options.c +11 -11
@@ -929,10 +929,10 @@struct pull_filter { -#define PUF_TYPE_UNDEF 0/** undefined filter type */ -#define PUF_TYPE_ACCEPT 1/** filter type to accept a matching option */ -#define PUF_TYPE_IGNORE 2/** filter type to ignore a matching option */ -#define PUF_TYPE_REJECT 3/** filter type to reject and trigger SIGUSR1 */ +#define PUF_TYPE_UNDEF 0/**< undefined filter type */ +#define PUF_TYPE_ACCEPT 1/**< filter type to accept a matching option */ +#define PUF_TYPE_IGNORE 2/**< filter type to ignore a matching option */ +#define PUF_TYPE_REJECT 3/**< filter type to reject and trigger SIGUSR1 */ int type;int size;char *pattern;
@@ -3846,14 +3846,14 @@* Check file/directory sanity * */ -#ifndef ENABLE_SMALL /** Expect people using the stripped down version to know what they do */ +#ifndef ENABLE_SMALL /* Expect people using the stripped down version to know what they do */ -#define CHKACC_FILE (1<<0)/** Check for a file/directory presence */ -#define CHKACC_DIRPATH (1<<1)/** Check for directory presence where a file should reside */ -#define CHKACC_FILEXSTWR (1<<2)/** If file exists, is it writable? */ -#define CHKACC_ACPTSTDIN (1<<3)/** If filename is stdin, it's allowed and "exists" */ -#define CHKACC_PRIVATE (1<<4)/** Warn if this (private) file is group/others accessible */ -#define CHKACC_ACCEPT_URI (1<<5)/** If filename is a URI, no check is done unless it starts with file: */ +#define CHKACC_FILE (1<<0)/**< Check for a file/directory presence */ +#define CHKACC_DIRPATH (1<<1)/**< Check for directory presence where a file should reside */ +#define CHKACC_FILEXSTWR (1<<2)/**< If file exists, is it writable? */ +#define CHKACC_ACPTSTDIN (1<<3)/**< If filename is stdin, it's allowed and "exists" */ +#define CHKACC_PRIVATE (1<<4)/**< Warn if this (private) file is group/others accessible */ +#define CHKACC_ACCEPT_URI (1<<5)/**< Do not check URIs, unless they start with file: */ static bool check_file_access (const int type,const char *file,const int mode,const char *opt)
src/openvpnmsica/msica_arg.h +4 -4
@@ -37,8 +37,8 @@*/ struct msica_arg { -struct msica_arg *next;/** Pointer to the next argument in the sequence */ -TCHAR val[];/** Zero terminated argument string */ +struct msica_arg *next;/**< Pointer to the next argument in the sequence */ +TCHAR val[];/**< Zero terminated argument string */ };
@@ -47,8 +47,8 @@*/ struct msica_arg_seq { -struct msica_arg *head;/** Pointer to the first argument in the sequence */ -struct msica_arg *tail;/** Pointer to the last argument in the sequence */ +struct msica_arg *head;/**< Pointer to the first argument in the sequence */ +struct msica_arg *tail;/**< Pointer to the last argument in the sequence */ };
src/openvpnmsica/openvpnmsica.c +6 -3
@@ -59,9 +59,10 @@* Local constants */ -#define MSICA_ADAPTER_TICK_SIZE (16*1024)/** Amount of tick space to reserve for one TAP/TUN adapter creation/deletition. */ +/** Amount of tick space to reserve for one TAP/TUN adapter creation/deletition. */ +#define MSICA_ADAPTER_TICK_SIZE (16 * 1024) -#define FILE_NEED_REBOOT L".ovpn_need_reboot" +#define FILE_NEED_REBOOT L".ovpn_need_reboot"#define OPENVPN_CONNECT_ADAPTER_SUBSTR L"OpenVPN Connect"
@@ -88,7 +89,9 @@free (szSequence);if (uiResult !=ERROR_SUCCESS ) { -SetLastError (uiResult);/* MSDN does not mention MsiSetProperty() to set GetLastError(). But we do have an error code. Set last error manually. */ +/* MSDN does not mention MsiSetProperty() to set GetLastError(). But we do have an error +* code. Set last error manually. */ +SetLastError (uiResult);msg (M_NONFATAL |M_ERRNO ,"%s: MsiSetProperty(\"%" PRIsLPTSTR"\") failed" , __FUNCTION__, szProperty);return uiResult; }
src/openvpnmsica/openvpnmsica.h +1 -1
@@ -38,7 +38,7 @@*/ struct openvpnmsica_thread_data { -MSIHANDLE hInstall;/** Handle to the installation session. */ +MSIHANDLE hInstall;/**< Handle to the installation session. */ };
src/tapctl/tap.h +4 -4
@@ -135,11 +135,11 @@*/ struct tap_adapter_node { -GUID guid;/** Adapter GUID */ -LPTSTR szzHardwareIDs;/** Device hardware ID(s) */ -LPTSTR szName;/** Adapter name */ +GUID guid;/**< Adapter GUID */ +LPTSTR szzHardwareIDs;/**< Device hardware ID(s) */ +LPTSTR szName;/**< Adapter name */ -struct tap_adapter_node *pNext;/** Pointer to next adapter */ +struct tap_adapter_node *pNext;/**< Pointer to next adapter */ };
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/820?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib88ce925b20c5912de489ef1b62615c4b87d365c
Gerrit-Change-Number: 820
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-MessageType: newchange
Attention is currently required from: flichtenheld, plaisthos.
stipa has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/820?usp=email )
Change subject: Fix wrong doxygen comments
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/820?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib88ce925b20c5912de489ef1b62615c4b87d365c
Gerrit-Change-Number: 820
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Tue, 26 Nov 2024 10:23:58 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
PATCH 1/1 Fix wrong doxygen comments
In reply to a message not in the archiveFrom: Frank Lichtenheld <[email protected]...>
Add some missing "<" to trailing comments
to make sure they apply to the correct line.
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/820
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Lev Stipakov <[email protected]...>
src/openvpn/options.c +11 -11
@@ -929,10 +929,10 @@struct pull_filter { -#define PUF_TYPE_UNDEF 0/** undefined filter type */ -#define PUF_TYPE_ACCEPT 1/** filter type to accept a matching option */ -#define PUF_TYPE_IGNORE 2/** filter type to ignore a matching option */ -#define PUF_TYPE_REJECT 3/** filter type to reject and trigger SIGUSR1 */ +#define PUF_TYPE_UNDEF 0/**< undefined filter type */ +#define PUF_TYPE_ACCEPT 1/**< filter type to accept a matching option */ +#define PUF_TYPE_IGNORE 2/**< filter type to ignore a matching option */ +#define PUF_TYPE_REJECT 3/**< filter type to reject and trigger SIGUSR1 */ int type;int size;char *pattern;
@@ -3846,14 +3846,14 @@* Check file/directory sanity * */ -#ifndef ENABLE_SMALL /** Expect people using the stripped down version to know what they do */ +#ifndef ENABLE_SMALL /* Expect people using the stripped down version to know what they do */ -#define CHKACC_FILE (1<<0)/** Check for a file/directory presence */ -#define CHKACC_DIRPATH (1<<1)/** Check for directory presence where a file should reside */ -#define CHKACC_FILEXSTWR (1<<2)/** If file exists, is it writable? */ -#define CHKACC_ACPTSTDIN (1<<3)/** If filename is stdin, it's allowed and "exists" */ -#define CHKACC_PRIVATE (1<<4)/** Warn if this (private) file is group/others accessible */ -#define CHKACC_ACCEPT_URI (1<<5)/** If filename is a URI, no check is done unless it starts with file: */ +#define CHKACC_FILE (1<<0)/**< Check for a file/directory presence */ +#define CHKACC_DIRPATH (1<<1)/**< Check for directory presence where a file should reside */ +#define CHKACC_FILEXSTWR (1<<2)/**< If file exists, is it writable? */ +#define CHKACC_ACPTSTDIN (1<<3)/**< If filename is stdin, it's allowed and "exists" */ +#define CHKACC_PRIVATE (1<<4)/**< Warn if this (private) file is group/others accessible */ +#define CHKACC_ACCEPT_URI (1<<5)/**< Do not check URIs, unless they start with file: */ static bool check_file_access (const int type,const char *file,const int mode,const char *opt)
src/openvpnmsica/msica_arg.h +4 -4
@@ -37,8 +37,8 @@*/ struct msica_arg { -struct msica_arg *next;/** Pointer to the next argument in the sequence */ -TCHAR val[];/** Zero terminated argument string */ +struct msica_arg *next;/**< Pointer to the next argument in the sequence */ +TCHAR val[];/**< Zero terminated argument string */ };
@@ -47,8 +47,8 @@*/ struct msica_arg_seq { -struct msica_arg *head;/** Pointer to the first argument in the sequence */ -struct msica_arg *tail;/** Pointer to the last argument in the sequence */ +struct msica_arg *head;/**< Pointer to the first argument in the sequence */ +struct msica_arg *tail;/**< Pointer to the last argument in the sequence */ };
src/openvpnmsica/openvpnmsica.c +6 -3
@@ -59,9 +59,10 @@* Local constants */ -#define MSICA_ADAPTER_TICK_SIZE (16*1024)/** Amount of tick space to reserve for one TAP/TUN adapter creation/deletition. */ +/** Amount of tick space to reserve for one TAP/TUN adapter creation/deletition. */ +#define MSICA_ADAPTER_TICK_SIZE (16 * 1024) -#define FILE_NEED_REBOOT L".ovpn_need_reboot" +#define FILE_NEED_REBOOT L".ovpn_need_reboot"#define OPENVPN_CONNECT_ADAPTER_SUBSTR L"OpenVPN Connect"
@@ -88,7 +89,9 @@free (szSequence);if (uiResult !=ERROR_SUCCESS ) { -SetLastError (uiResult);/* MSDN does not mention MsiSetProperty() to set GetLastError(). But we do have an error code. Set last error manually. */ +/* MSDN does not mention MsiSetProperty() to set GetLastError(). But we do have an error +* code. Set last error manually. */ +SetLastError (uiResult);msg (M_NONFATAL |M_ERRNO ,"%s: MsiSetProperty(\"%" PRIsLPTSTR"\") failed" , __FUNCTION__, szProperty);return uiResult; }
src/openvpnmsica/openvpnmsica.h +1 -1
@@ -38,7 +38,7 @@*/ struct openvpnmsica_thread_data { -MSIHANDLE hInstall;/** Handle to the installation session. */ +MSIHANDLE hInstall;/**< Handle to the installation session. */ };
src/tapctl/tap.h +4 -4
@@ -135,11 +135,11 @@*/ struct tap_adapter_node { -GUID guid;/** Adapter GUID */ -LPTSTR szzHardwareIDs;/** Device hardware ID(s) */ -LPTSTR szName;/** Adapter name */ +GUID guid;/**< Adapter GUID */ +LPTSTR szzHardwareIDs;/**< Device hardware ID(s) */ +LPTSTR szName;/**< Adapter name */ -struct tap_adapter_node *pNext;/** Pointer to next adapter */ +struct tap_adapter_node *pNext;/**< Pointer to next adapter */ };
[Openvpn-devel] [PATCH applied] Re: Fix wrong doxygen comments
Your patch has been applied to the master branch.
commit 6c636f5387245ceb4809eac765c4b649709b4aa8
Author: Frank Lichtenheld Date: Tue Nov 26 11:26:51 2024 +0100
Fix wrong doxygen comments
Signed-off-by: Frank Lichtenheld <[email protected]...>
Acked-by: Lev Stipakov <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg29897.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#2) to the change originally created by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/820?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by stipa
Change subject: Fix wrong doxygen comments
......................................................................
Fix wrong doxygen comments
Add some missing "<" to trailing comments
to make sure they apply to the correct line.
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg29897.html
---
M src/openvpn/options.c
M src/openvpnmsica/msica_arg.h
M src/openvpnmsica/openvpnmsica.c
M src/openvpnmsica/openvpnmsica.h
M src/tapctl/tap.h
5 files changed, 26 insertions(+), 23 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/20/820/2
src/openvpn/options.c +11 -11
@@ -929,10 +929,10 @@struct pull_filter { -#define PUF_TYPE_UNDEF 0/** undefined filter type */ -#define PUF_TYPE_ACCEPT 1/** filter type to accept a matching option */ -#define PUF_TYPE_IGNORE 2/** filter type to ignore a matching option */ -#define PUF_TYPE_REJECT 3/** filter type to reject and trigger SIGUSR1 */ +#define PUF_TYPE_UNDEF 0/**< undefined filter type */ +#define PUF_TYPE_ACCEPT 1/**< filter type to accept a matching option */ +#define PUF_TYPE_IGNORE 2/**< filter type to ignore a matching option */ +#define PUF_TYPE_REJECT 3/**< filter type to reject and trigger SIGUSR1 */ int type;int size;char *pattern;
@@ -3846,14 +3846,14 @@* Check file/directory sanity * */ -#ifndef ENABLE_SMALL /** Expect people using the stripped down version to know what they do */ +#ifndef ENABLE_SMALL /* Expect people using the stripped down version to know what they do */ -#define CHKACC_FILE (1<<0)/** Check for a file/directory presence */ -#define CHKACC_DIRPATH (1<<1)/** Check for directory presence where a file should reside */ -#define CHKACC_FILEXSTWR (1<<2)/** If file exists, is it writable? */ -#define CHKACC_ACPTSTDIN (1<<3)/** If filename is stdin, it's allowed and "exists" */ -#define CHKACC_PRIVATE (1<<4)/** Warn if this (private) file is group/others accessible */ -#define CHKACC_ACCEPT_URI (1<<5)/** If filename is a URI, no check is done unless it starts with file: */ +#define CHKACC_FILE (1<<0)/**< Check for a file/directory presence */ +#define CHKACC_DIRPATH (1<<1)/**< Check for directory presence where a file should reside */ +#define CHKACC_FILEXSTWR (1<<2)/**< If file exists, is it writable? */ +#define CHKACC_ACPTSTDIN (1<<3)/**< If filename is stdin, it's allowed and "exists" */ +#define CHKACC_PRIVATE (1<<4)/**< Warn if this (private) file is group/others accessible */ +#define CHKACC_ACCEPT_URI (1<<5)/**< Do not check URIs, unless they start with file: */ static bool check_file_access (const int type,const char *file,const int mode,const char *opt)
src/openvpnmsica/msica_arg.h +4 -4
@@ -37,8 +37,8 @@*/ struct msica_arg { -struct msica_arg *next;/** Pointer to the next argument in the sequence */ -TCHAR val[];/** Zero terminated argument string */ +struct msica_arg *next;/**< Pointer to the next argument in the sequence */ +TCHAR val[];/**< Zero terminated argument string */ };
@@ -47,8 +47,8 @@*/ struct msica_arg_seq { -struct msica_arg *head;/** Pointer to the first argument in the sequence */ -struct msica_arg *tail;/** Pointer to the last argument in the sequence */ +struct msica_arg *head;/**< Pointer to the first argument in the sequence */ +struct msica_arg *tail;/**< Pointer to the last argument in the sequence */ };
src/openvpnmsica/openvpnmsica.c +6 -3
@@ -59,9 +59,10 @@* Local constants */ -#define MSICA_ADAPTER_TICK_SIZE (16*1024)/** Amount of tick space to reserve for one TAP/TUN adapter creation/deletition. */ +/** Amount of tick space to reserve for one TAP/TUN adapter creation/deletition. */ +#define MSICA_ADAPTER_TICK_SIZE (16 * 1024) -#define FILE_NEED_REBOOT L".ovpn_need_reboot" +#define FILE_NEED_REBOOT L".ovpn_need_reboot"#define OPENVPN_CONNECT_ADAPTER_SUBSTR L"OpenVPN Connect"
@@ -88,7 +89,9 @@free (szSequence);if (uiResult !=ERROR_SUCCESS ) { -SetLastError (uiResult);/* MSDN does not mention MsiSetProperty() to set GetLastError(). But we do have an error code. Set last error manually. */ +/* MSDN does not mention MsiSetProperty() to set GetLastError(). But we do have an error +* code. Set last error manually. */ +SetLastError (uiResult);msg (M_NONFATAL |M_ERRNO ,"%s: MsiSetProperty(\"%" PRIsLPTSTR"\") failed" , __FUNCTION__, szProperty);return uiResult; }
src/openvpnmsica/openvpnmsica.h +1 -1
@@ -38,7 +38,7 @@*/ struct openvpnmsica_thread_data { -MSIHANDLE hInstall;/** Handle to the installation session. */ +MSIHANDLE hInstall;/**< Handle to the installation session. */ };
src/tapctl/tap.h +4 -4
@@ -135,11 +135,11 @@*/ struct tap_adapter_node { -GUID guid;/** Adapter GUID */ -LPTSTR szzHardwareIDs;/** Device hardware ID(s) */ -LPTSTR szName;/** Adapter name */ +GUID guid;/**< Adapter GUID */ +LPTSTR szzHardwareIDs;/**< Device hardware ID(s) */ +LPTSTR szName;/**< Adapter name */ -struct tap_adapter_node *pNext;/** Pointer to next adapter */ +struct tap_adapter_node *pNext;/**< Pointer to next adapter */ };
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/820?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib88ce925b20c5912de489ef1b62615c4b87d365c
Gerrit-Change-Number: 820
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: newpatchset
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/820?usp=email )
Change subject: Fix wrong doxygen comments
......................................................................
Fix wrong doxygen comments
Add some missing "<" to trailing comments
to make sure they apply to the correct line.
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg29897.html
---
M src/openvpn/options.c
M src/openvpnmsica/msica_arg.h
M src/openvpnmsica/openvpnmsica.c
M src/openvpnmsica/openvpnmsica.h
M src/tapctl/tap.h
5 files changed, 26 insertions(+), 23 deletions(-)
src/openvpn/options.c +11 -11
@@ -929,10 +929,10 @@struct pull_filter { -#define PUF_TYPE_UNDEF 0/** undefined filter type */ -#define PUF_TYPE_ACCEPT 1/** filter type to accept a matching option */ -#define PUF_TYPE_IGNORE 2/** filter type to ignore a matching option */ -#define PUF_TYPE_REJECT 3/** filter type to reject and trigger SIGUSR1 */ +#define PUF_TYPE_UNDEF 0/**< undefined filter type */ +#define PUF_TYPE_ACCEPT 1/**< filter type to accept a matching option */ +#define PUF_TYPE_IGNORE 2/**< filter type to ignore a matching option */ +#define PUF_TYPE_REJECT 3/**< filter type to reject and trigger SIGUSR1 */ int type;int size;char *pattern;
@@ -3846,14 +3846,14 @@* Check file/directory sanity * */ -#ifndef ENABLE_SMALL /** Expect people using the stripped down version to know what they do */ +#ifndef ENABLE_SMALL /* Expect people using the stripped down version to know what they do */ -#define CHKACC_FILE (1<<0)/** Check for a file/directory presence */ -#define CHKACC_DIRPATH (1<<1)/** Check for directory presence where a file should reside */ -#define CHKACC_FILEXSTWR (1<<2)/** If file exists, is it writable? */ -#define CHKACC_ACPTSTDIN (1<<3)/** If filename is stdin, it's allowed and "exists" */ -#define CHKACC_PRIVATE (1<<4)/** Warn if this (private) file is group/others accessible */ -#define CHKACC_ACCEPT_URI (1<<5)/** If filename is a URI, no check is done unless it starts with file: */ +#define CHKACC_FILE (1<<0)/**< Check for a file/directory presence */ +#define CHKACC_DIRPATH (1<<1)/**< Check for directory presence where a file should reside */ +#define CHKACC_FILEXSTWR (1<<2)/**< If file exists, is it writable? */ +#define CHKACC_ACPTSTDIN (1<<3)/**< If filename is stdin, it's allowed and "exists" */ +#define CHKACC_PRIVATE (1<<4)/**< Warn if this (private) file is group/others accessible */ +#define CHKACC_ACCEPT_URI (1<<5)/**< Do not check URIs, unless they start with file: */ static bool check_file_access (const int type,const char *file,const int mode,const char *opt)
src/openvpnmsica/msica_arg.h +4 -4
@@ -37,8 +37,8 @@*/ struct msica_arg { -struct msica_arg *next;/** Pointer to the next argument in the sequence */ -TCHAR val[];/** Zero terminated argument string */ +struct msica_arg *next;/**< Pointer to the next argument in the sequence */ +TCHAR val[];/**< Zero terminated argument string */ };
@@ -47,8 +47,8 @@*/ struct msica_arg_seq { -struct msica_arg *head;/** Pointer to the first argument in the sequence */ -struct msica_arg *tail;/** Pointer to the last argument in the sequence */ +struct msica_arg *head;/**< Pointer to the first argument in the sequence */ +struct msica_arg *tail;/**< Pointer to the last argument in the sequence */ };
src/openvpnmsica/openvpnmsica.c +6 -3
@@ -59,9 +59,10 @@* Local constants */ -#define MSICA_ADAPTER_TICK_SIZE (16*1024)/** Amount of tick space to reserve for one TAP/TUN adapter creation/deletition. */ +/** Amount of tick space to reserve for one TAP/TUN adapter creation/deletition. */ +#define MSICA_ADAPTER_TICK_SIZE (16 * 1024) -#define FILE_NEED_REBOOT L".ovpn_need_reboot" +#define FILE_NEED_REBOOT L".ovpn_need_reboot"#define OPENVPN_CONNECT_ADAPTER_SUBSTR L"OpenVPN Connect"
@@ -88,7 +89,9 @@free (szSequence);if (uiResult !=ERROR_SUCCESS ) { -SetLastError (uiResult);/* MSDN does not mention MsiSetProperty() to set GetLastError(). But we do have an error code. Set last error manually. */ +/* MSDN does not mention MsiSetProperty() to set GetLastError(). But we do have an error +* code. Set last error manually. */ +SetLastError (uiResult);msg (M_NONFATAL |M_ERRNO ,"%s: MsiSetProperty(\"%" PRIsLPTSTR"\") failed" , __FUNCTION__, szProperty);return uiResult; }
src/openvpnmsica/openvpnmsica.h +1 -1
@@ -38,7 +38,7 @@*/ struct openvpnmsica_thread_data { -MSIHANDLE hInstall;/** Handle to the installation session. */ +MSIHANDLE hInstall;/**< Handle to the installation session. */ };
src/tapctl/tap.h +4 -4
@@ -135,11 +135,11 @@*/ struct tap_adapter_node { -GUID guid;/** Adapter GUID */ -LPTSTR szzHardwareIDs;/** Device hardware ID(s) */ -LPTSTR szName;/** Adapter name */ +GUID guid;/**< Adapter GUID */ +LPTSTR szzHardwareIDs;/**< Device hardware ID(s) */ +LPTSTR szName;/**< Adapter name */ -struct tap_adapter_node *pNext;/** Pointer to next adapter */ +struct tap_adapter_node *pNext;/**< Pointer to next adapter */ };
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/820?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ib88ce925b20c5912de489ef1b62615c4b87d365c
Gerrit-Change-Number: 820
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: merged